#ifndef CONVERTDEF_H
#define CONVERTDEF_H
//#include <QString>
namespace Convert{
enum ConvertStatus{
    Convert_notStart,
    Convert_onGoing,
    Convert_done
};

enum FileInfoItem{
    FileInfo_name,
    FileInfo_duration,
    FileInfo_outFormat,
    FileInfo_outSize,
    FileInfo_outName,
    FileInfo_status,
    FileInfoItem_Count,
};

struct FileInfo{
    QString fileName;
    QString duration;
    QString outFormat;
    QString outSize;
    QString outName;
    ConvertStatus status;
    int convertPercent;
    FileInfo(){
        status = Convert_notStart;
        convertPercent = 88;
    }
};
}

#endif // CONVERTDEF_H
